package com.test.cxf.domain;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;

@XmlType(propOrder = {})
@XmlAccessorType(XmlAccessType.FIELD)
public class User implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 872947919409349790L;
	@XmlElement
	private String id;
	
	@XmlElementWrapper(name="address")
	private List<String> address;
	
	@XmlElement
	private InUser inUser;
	
	@XmlElement
	private Boolean flag;
	
	@XmlElement
	private TestImpl test;
	
	
	@XmlElement
	private List<String> listTest;
	
	
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the address
	 */
	public List<String> getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(List<String> address) {
		this.address = address;
	}
	/**
	 * @return the inUser
	 */
	public InUser getInUser() {
		return inUser;
	}
	/**
	 * @param inUser the inUser to set
	 */
	public void setInUser(InUser inUser) {
		this.inUser = inUser;
	}
	/**
	 * @return the flag
	 */
	public Boolean getFlag() {
		return flag;
	}
	/**
	 * @param flag the flag to set
	 */
	public void setFlag(Boolean flag) {
		this.flag = flag;
	}
	/**
	 * @return the test
	 */
	public TestInterFace getTest() {
		return test;
	}
	/**
	 * @param test the test to set
	 */
	public void setTest(TestInterFace test) {
		this.test = (TestImpl) test;
	}
	/**
	 * @return the listTest
	 */
	public List getListTest() {
		return listTest;
	}
	/**
	 * @param listTest the listTest to set
	 */
	public void setListTest(List listTest) {
		this.listTest = listTest;
	}
	
}
